{% load i18n %}

{% trans "Owner" %}

{% if user == instance.owner %} {% blocktrans %}You are the current owner of this instance.{% endblocktrans %} {% else %} {% url "dashboard.views.profile" username=instance.owner.username as url %} {% blocktrans with owner=instance.owner name=instance.owner.get_full_name%} The current owner of this instance is {{name}} ({{owner}}). {% endblocktrans %} {% endif %} {% if user == instance.owner or user.is_superuser %} {% trans "Transfer ownership..." %} {% endif %}

{% trans "Permissions"|capfirst %}

{% include "dashboard/_manage_access.html" with table_id="vm-access-table" %}
{% trans "User" %}
{% trans "Grants access to the detail page so the users can connect to the virtual machine." %}
{% trans "Operator" %}
{% blocktrans %} Users or groups with operator access can modify the the name and description, open ports and grant user level access to the virtual machine. {% endblocktrans %}
{% trans "Owner" %}
{% blocktrans %} Full access to the virtual machine. They can use operations, change resources and grant operator level access to users or groups. Besides the access levels the instance also has an original owner. The original owner's access cannot be revoked however the ownership is transferable. {% endblocktrans %}